﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Client.Request.Trade
{
    /// <summary>
    /// 短信付款请求
    /// </summary>
    public class SmsPayRequest
    {
        /// <summary>
        /// 付款Id
        /// </summary>
        [Required(ErrorMessage = "付款Id不能为空")]
        [MaxLength(64, ErrorMessage = "付款Id不能超过64个字符串")]
        public string PayId { get; set; }

        /// <summary>
        /// 短信验证码
        /// </summary>
        [Required(ErrorMessage = "短信验证码不能为空")]
        public string SmsCheckCode { get; set; }
    }
}
